package com.bmft.task01.util.enum_;

import lombok.Getter;

/**
 * @author Jarvan
 * @version 1.0
 * @create 2020/9/26 16:00
 */
@Getter
public enum MainMenuEnum {

    /**
     * static final fields
     */
    INSERT(1, "insert animal or Animal characteristics"),
    DELETE(2, "delete animal or Animal characteristics"),
    UPDATE(3, "update animal or Animal characteristics"),
    QUERY(4, "query animal or Animal characteristics ");
    /**
     * code for input
     */
    private int code;
    /**
     * means of code.
     */
    private String means;

    MainMenuEnum(int code, String means) {
        this.code = code;
        this.means = means;
    }

}
